package com.jy.rhin.model.body.jiwangshi;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import lombok.Data;

/***
 * 新生儿既往史
 */
@Data
public class XinShengEJWS {
    //疑似预防接种异常反应史
    @XPath(path = "/entry/observation/code[@code='DE04.01.103.00']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_01_103_00, nullable = true))
    String jieZhongYCFYS;
    //接种禁忌
    @XPath(path = "/entry/observation/code[@code='DE06.00.054.00']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_054_00, nullable = true))
    String jieZhongJJ;
    //传染病史
    @XPath(path = "/entry/observation/code[@code='DE02.10.008.00']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_008_00, nullable = true))
    String chuanRanBS;
}
